package com.rh.bmw4s.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/26.
 */

public class ThirdSearchBean {


    /**
     * status : 1
     * code : 1000
     * msg : 返回结果
     * datas : {"gearbox":"变速箱","list1":[{"id":37,"name":"手动"}],"pailiang":"排量","list2":[{"pailiang":""},{"pailiang":"2"},{"pailiang":"4"}],"years":[{"year":"2016","list":[{"id":19,"mod_year":"2016","goods_name":"斯蒂是是是2"}]},{"year":"2018","list":[{"id":25,"mod_year":"2018","goods_name":"斯蒂是是是9"}]},{"year":"2017","list":[{"id":32,"mod_year":"2017","goods_name":"斯蒂是是是56"}]}]}
     */

    private int status;
    private String code;
    private String msg;
    private DatasBean datas;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DatasBean getDatas() {
        return datas;
    }

    public void setDatas(DatasBean datas) {
        this.datas = datas;
    }

    public static class DatasBean {
        /**
         * gearbox : 变速箱
         * list1 : [{"id":37,"name":"手动"}]
         * pailiang : 排量
         * list2 : [{"pailiang":""},{"pailiang":"2"},{"pailiang":"4"}]
         * years : [{"year":"2016","list":[{"id":19,"mod_year":"2016","goods_name":"斯蒂是是是2"}]},{"year":"2018","list":[{"id":25,"mod_year":"2018","goods_name":"斯蒂是是是9"}]},{"year":"2017","list":[{"id":32,"mod_year":"2017","goods_name":"斯蒂是是是56"}]}]
         */

        private String gearbox;
        private String pailiang;
        private List<List1Bean> list1;
        private List<List2Bean> list2;
        private List<YearsBean> years;

        public String getGearbox() {
            return gearbox;
        }

        public void setGearbox(String gearbox) {
            this.gearbox = gearbox;
        }

        public String getPailiang() {
            return pailiang;
        }

        public void setPailiang(String pailiang) {
            this.pailiang = pailiang;
        }

        public List<List1Bean> getList1() {
            return list1;
        }

        public void setList1(List<List1Bean> list1) {
            this.list1 = list1;
        }

        public List<List2Bean> getList2() {
            return list2;
        }

        public void setList2(List<List2Bean> list2) {
            this.list2 = list2;
        }

        public List<YearsBean> getYears() {
            return years;
        }

        public void setYears(List<YearsBean> years) {
            this.years = years;
        }

        public static class List1Bean {
            /**
             * id : 37
             * name : 手动
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class List2Bean {
            /**
             * pailiang :
             */

            private String pailiang;

            public String getPailiang() {
                return pailiang;
            }

            public void setPailiang(String pailiang) {
                this.pailiang = pailiang;
            }
        }

        public static class YearsBean {
            /**
             * year : 2016
             * list : [{"id":19,"mod_year":"2016","goods_name":"斯蒂是是是2"}]
             */

            private String year;
            private List<ListBean> list;

            public String getYear() {
                return year;
            }

            public void setYear(String year) {
                this.year = year;
            }

            public List<ListBean> getList() {
                return list;
            }

            public void setList(List<ListBean> list) {
                this.list = list;
            }

            public static class ListBean {
                /**
                 * id : 19
                 * mod_year : 2016
                 * goods_name : 斯蒂是是是2
                 */

                private int id;
                private String mod_year;
                private String goods_name;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getMod_year() {
                    return mod_year;
                }

                public void setMod_year(String mod_year) {
                    this.mod_year = mod_year;
                }

                public String getGoods_name() {
                    return goods_name;
                }

                public void setGoods_name(String goods_name) {
                    this.goods_name = goods_name;
                }
            }
        }
    }
}
